package com.example.ssrbac.service;

import com.example.ssrbac.dto.PermissionDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface PermissionService {
    PermissionDTO createPermission(PermissionDTO permissionDTO);
    PermissionDTO updatePermission(Long id, PermissionDTO permissionDTO);
    void deletePermission(Long id);
    PermissionDTO getPermissionById(Long id);
    Page<PermissionDTO> getAllPermissions(Pageable pageable);
} 